package org.csu.hotelsys.persistence;

import org.csu.hotelsys.domain.Admin;
import org.springframework.stereotype.Repository;


@Repository
public interface AdminMapper {

    //注册管理员
    void insertAdmin(Admin admin);

    //登录验证
    Admin getAdminByUsernameAndPassword(Admin admin);

}
